﻿using System;

namespace diantou.web.management
{
    /// <summary>
    /// 发送邮件
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class sendEmail : adminView<sendEmail>
    {
        /// <summary>
        /// 邮件模版集合
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.dataModel.mail mail;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="mailId"></param>
        /// <returns></returns>
        private bool loadView(int mailId)
        {
            if (mailId != 0) mail = diantou.dataAccess.tcpCall.mail.get(mailId);
            if (mail == null) mail = diantou.dataAccess.mail.NullMail;
            return true;
        }
    }
}
